<div id="tablecontent">
  <table class="testgrid" id="tableid">
    <thead>
      <tr>
        <th>id</th>
        <th>主题名</th>
        <th>标题</th>
        <th>RMB</th>
        <th>USD</th>
        <th>积分</th>
        <th>apk地址</th>
        <th>预览</th>
        <th>描述</th>
        <th>下载量</th>
        <th>创建时间</th>
        <th>更新时间</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
<?php
	foreach($theme_list as $theme)
	{
?>
      <tr id="DemoGrid">
	  	<td><?php echo $theme->id; ?></td>
	  	<td><?php echo $theme->name; ?></td>
	  	<td><?php echo $theme->title; ?></td>
	  	<td><?php echo $theme->price_rmb; ?></td>
	  	<td><?php echo $theme->price_usd; ?></td>
	  	<td><?php echo $theme->score; ?></td>
	  	<td><?php echo $theme->apk_url; ?></td>
	  	<td><?php echo $theme->preview_url; ?></td>
	  	<td><?php echo $theme->description; ?></td>
	  	<td><?php echo $theme->download_count; ?></td>
	  	<td><?php echo $theme->create_time; ?></td>
	  	<td><?php echo $theme->update_time; ?></td>
		<td>
			<a href="/admin/theme/delete/<?php echo $theme->id; ?>" onclick="var bl=confirm('真要删除?'); if(bl){return true;} else {return false;}" class="rates_button">删除</a>
			<a href="/admin/theme/modify/<?php echo $theme->id; ?>" class="rates_button">编辑</a>
		</td>
      </tr>
<?php
	}
?>
    </tbody>
  </table>
</div>
